package com.xs.jmb2c.handlers;

public class BaseContextHandler {
    private static ThreadLocal<Long> context = new ThreadLocal<Long>();

    public static void set(Long userId){
        context.set(userId);
    }
    public static Long get(){
        return context.get();
    }
    public static void remove(){
        context.remove();
    }
}
